/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.core.domain.partner.action;

import cn.hutool.core.bean.BeanUtil;
import info.peigen.hotpot.business.customer.core.domain.partner.PartnerTech;
import info.peigen.hotpot.business.customer.facade.info.partner.PartnerTechInfo;
import lombok.extern.slf4j.Slf4j;

/**
 * <b>(PartnerConverter)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/5/24
 */
@Slf4j
public class PartnerTechConverter {
    public static PartnerTech convert(PartnerTechInfo info) {
        return BeanUtil.copyProperties(info, PartnerTech.class, "permission", "platform", "tech");
    }
}